package com.chengdu.his.sys.service;

import com.chengdu.his.pojo.Dict;

import java.util.List;

public interface DictService {
    int addDict(Dict dict) throws Exception;
    Dict findDict(String dname) throws Exception;
    int insertDict(Dict dict) throws Exception;
    List<Dict> dicts() throws Exception;
    // 根据字典ID查询字典信息
    Dict findDictById(int id) throws Exception;
    // 修改字典信息
    int updateDict(Dict dict) throws Exception;
}
